﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class ButtomButtonsManager : MonoBehaviour {
	public Button plunderBtn;
	public Button waerhouseBtn;
	public Button warshipBtn;

	public GameObject main;
	public GameObject waerhouse;

	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}

	public void Plunder()
	{
		print("掠夺");
        SceneManager.LoadScene("play");
	} 

	public void Waerhouse()
	{
		print("仓库");
		waerhouse.active = true;
		main.active = false;		
	}

	public void Warship()
	{
		print("战舰");		
		
	}
}
